<%@ page language="java" pageEncoding="UTF-8"%>
<%@ include file="/common/taglibs.jsp"%>
<%@ taglib prefix="product" tagdir="/WEB-INF/tags/product"%>
<%@ taglib prefix="order" tagdir="/WEB-INF/tags/order"%>
<%@ taglib prefix="system" tagdir="/WEB-INF/tags/system"%>
<div class="content" id="otherDiv">
	<div class="box_04">
		<div class="cnt">
			<div class="top">
				<fmt:message key="salesOrder.addPanel.other" />
			</div>
			<table width="100%" border="0" cellspacing="0" cellpadding="0" class="settings_table1"  height="60px;">
				<c:if test="${appConfig.invoiceSupported and not empty isShippingRequired and isShippingRequired}">
					<tr>
						<th  width="120px;"><label for="hasInvoiceCheck"><fmt:message key="checkout.invoice.hasInvoice"/>：</label></th>
						<td>
							<input type="checkbox" name="hasInvoiceCheck" id="hasInvoiceCheck" onclick="toggleHasInvoice(this)">
							<input type="hidden" name="hasInvoice" id="hasInvoice" value="0">
						</td>
					</tr>
					<tr id="invoiceTitleDiv" style="display:none;">
						<th><fmt:message key="checkout.invoice.title"/>(<span class="red">*</span>):</th>
						<td>
							<input id="invoiceTitle" name="invoiceTitle" type="text" class="inputtxt" style="width:300px" validconf="maxlength=128" />
						</td>
					</tr>
				</c:if>
				<c:if test="${appConfig.isSupportWrapExpress and not empty isShippingRequired and isShippingRequired}">
					<tr>
						<th  width="120px;"><fmt:message key="checkout.giftWrap"/>:</th>
						<td>
							<select name="wrapId" onchange="changeWrap(this)">
								<option value=""><fmt:message key="checkout.giftWrap.noCost"/></option>
								<c:forEach items="${wrapList}" var="wrap" varStatus="varStatus">
									<option value="${wrap.wrapId}">${wrap.wrapName}</option>
								</c:forEach>
							</select>
						</td>
					</tr>
					<tr id="wrapNoteDiv" style="display:none;">
						<th><fmt:message key="checkout.giftWrap.wrapNote"/>(<span class="red">*</span>):</th>
						<td>
							<input id="wrapNote" name="wrapNote" type="text" class="inputtxt" style="width:300px" validconf="maxlength=512" />
						</td>
					</tr>
				</c:if>
				<tr>
					<th  width="120px;"><fmt:message key="checkout.remark"/>:</th>
					<td>
						<input id="remark" name="remark" type="text" class="inputtxt" style="width:300px" value="" validconf="maxlength=50" />	
					</td>
				</tr>
			</table>
		</div>
	</div>
</div>
